package com.ziyun.erp.modules.service.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import com.ziyun.erp.modules.service.dao.ServiceSendGoodsDao;
import com.ziyun.erp.modules.service.entity.ServiceSendGoodsEntity;
import com.ziyun.erp.modules.service.service.ServiceSendGoodsService;


@Service("serviceSendGoodsService")
public class ServiceSendGoodsServiceImpl extends ServiceImpl<ServiceSendGoodsDao, ServiceSendGoodsEntity> implements ServiceSendGoodsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<ServiceSendGoodsEntity> page = this.selectPage(
                new Query<ServiceSendGoodsEntity>(params).getPage(),
                new EntityWrapper<ServiceSendGoodsEntity>()
        );

        return new PageUtils(page);
    }

}
